Dokumentaro de Gambaso
Compilation & Installation
Components
gb
Array
Error
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Variant[].Equals (gb)

Function Equals ( Array As Variant[] ) As Boolean

Since 3.20

Return if the array has the same contents as Array.

The arrays must have the same dimensions and the same number of elements.

Two elements are equal either if:
  • They are the same values or object references.

  • They are two equal arrays.

  • They are two equal collections.

Do not forget that there is an automatic conversion if Array has not the same datatype.

The comparison is done recursively, and may enter an infinite recursion if there are cyclic references.